package com.yangye.wechat.constants;

public class Constants {
	/**
	 * APPID
	 */
	public static String APPID = "wxab78854fb87f0463";

	/**
	 * SECRET
	 */
	public static String SECRET = "475b6b08999443e059f0133f123cafa4";

	/**
	 * 存储微信access键
	 */
	public static String ACCESS_TOKEN_KEY = "WECHAT_ACCESS_TOKEN_KEY";

	/**
	 * 图灵机器人api的key
	 */
	public static String TULING_API_KEY = "172d65d35ed948f19925bbf6406e0140";

	/**
	 * 获取ACCESS_TOKEN接口 get
	 * appid
	 * secret
	 */
	public static String GET_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential";

	/**
	 * ACCESS_TOKEN有效时间(单位：ms)
	 */
	public static Integer EFFECTIVE_TIME = 720000;

	/**
	 * 获取微信服务器IP get
	 * access_token
	 */
	public static String GET_SERVER_IP_URL = "https://api.weixin.qq.com/cgi-bin/getcallbackip";

	/**
	 * =========================自定义菜单============================================
	 */

	/**
	 * 创建自定义菜单 post
	 * access_token
	 */
	public static String CREATE_MENU_URL = "https://api.weixin.qq.com/cgi-bin/menu/create";

	/**
	 * 查询自定义菜单 get
	 * access_token
	 */
	public static String GET_MENU_URL = "https://api.weixin.qq.com/cgi-bin/menu/get";

	/**
	 * 删除自定义菜单 get
	 * access_token
	 */
	public static String DELETE_MENU_URL = "https://api.weixin.qq.com/cgi-bin/menu/delete";

	/**
	 * 获取自定义菜单配置接口 get
	 * access_token
	 */
	public static String GET_MENU_INFO_URL = "https://api.weixin.qq.com/cgi-bin/get_current_selfmenu_info";

	/**
	 * =========================自定义个性菜单============================================
	 */

	/**
	 * 创建自定义个性菜单接口 post
	 * access_token
	 */
	public static String CREATE_CONDITIONAL_MENU_URL = "https://api.weixin.qq.com/cgi-bin/menu/addconditional";

	/**
	 * 删除自定义个性菜单接口 post
	 * access_token
	 */
	public static String DELETE_CONDITIONAL_MENU_URL = "https://api.weixin.qq.com/cgi-bin/menu/delconditional";

	/**
	 * 测试个性化菜单匹配结果 post
	 * access_token
	 */
	public static String TRYMATCH_CONDITIONAL_MENU_URL= "https://api.weixin.qq.com/cgi-bin/menu/trymatch";


	/**
	 * =========================二维码============================================
	 */

	/**
	 * 二维码请求接口 post
	 * access_token
	 */
	public static String CREATE_QRCODE_URL ="https://api.weixin.qq.com/cgi-bin/qrcode/create";

	/**
	 * 二维码显示地址 get
	 * ticket
	 */
	public static String GET_QRCODE_URL ="https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=";


	/**
	 * =========================短网址============================================
	 */

	/**
	 * 短网址模版
	 */
	public static String SHORT_URL_TEMPLATE = "{\"action\":\"long2short\",\"long_url\":\"%1$s\"}";

	/**
	 * 获取短网址接口 post
	 * access_token
	 */
	public static String GET_SHORT_URL = "https://api.weixin.qq.com/cgi-bin/shorturl";


	/**
	 * 微信接入token ，用于验证微信接口
	 */
	public static String TOKEN = "yangye";

	public static String SUBSCRIBE_MESSAGE =
			"    又一个无聊的人类关注了我们。。。\n" +
			" 选一个看看吧\n" +
			" 1.大野子就是帅\n" +
			" 2.大野子不是特别的帅\n" +
			" 3.今日推荐歌曲\n" +
			" 4.更多功能敬请期待（反正大野子也没空做。。。）\n" +
			" 回复“？”再次查看菜单";

	public static String MENU =
			"选一个看看吧\n" +
			"1.大野子就是帅\n" +
			"2.大野子不是特别的帅\n" +
			"3.今日推荐歌曲\n" +
			"4.更多功能敬请期待（反正大野子也没空做。。。）\n" +
			"回复“？”再次查看菜单";
}
